Added support for the API key.