Adding client side API