Remove unused methods from client.py