Improve the API params to match the docs.