Fixed references to API URL.