Variables associated to a menu, not its entries

Hi,
I have a menu-hugo which goes like this:

{{ if . }}
  {{ template "book-menu-hugo" . }}
{{ end }}

{{ define "book-menu-hugo" }}
<div class="essentials">
<div>The Essentials</div>

Is it possible to associate a parameter or property to a menu (not on its entry) ?
Before I had to hardcode the header title and class, but now I rather pass a slice composed of the menu and those information:

{{ partial “docs/menu-hugo” (slice .Site.Menus.before “The Essentials” “essentials”) }}

But I wondered if there was a simpler way, like

[menu.before.params]
title = "The Essentials"
class = "essentials"

which is rubbish since I couldn’t access those from the partial, but you get my point.