Add params arg for API methods