Base functions and pydoc added to client.py