Added a couple of functions to the client.