Fixes task-related api calls.