Implement the seemingly unused rootClass option such that we can define the css class injected into the root menu item.