Fixed incorrectly named calls to the api client.