Better docstrings at the connection layer.

Next up is the resource layer.