Please format comments to be sentence-case, to be consistent with the rest of the codebase. (Starting with a capital, ending with a period.)

Also in connection.py

Otherwise looks good. :)