Added an api_url field to the config() method.