Replaced reference to client api.