Changed API endpoints.