Added getter method to client.