Remove unneeded menu items.