Removing menu-related code.