Add params() method to base controller