Adding client api.