Added more methods to client.java.