Clean up docstrings
Implement Connections class and Output type