Updated connect methods, and some docstrings