Fix API calls.