Added some java doc to client.