Added user agent to API requests.