Add params functionality.