use __method instead of method in client.py to avoid potential conflicts