Remove unused menu items.