Remove unwanted methods from the client