Removed exclude-menu code