Refactor menus with plugs.menus