Added some functions to client interface.