Adding remove extra params method on the base controller.