This is probably the wrong way to make menus configurable.