Fix broken API calls.