Cleaning up the menu, using directives