Fixed formatting in api client class