Move menus directive to the correct place - core