Rewriting sub-menus.