Removes unnecessary menu items