Allow adding sections and/or submenus as a hook.