Documentation update; small pep8 changes to client.py