Enable setting connection at class level
Merge pull request #2 from square/iacono/class-connection

Enable setting connection at class level