Revert "Merge pull request #149 from ragalie/subclass_connection"

This reverts commit ef6c588cb23823807cb2acc849827d650c6a0e8a, reversing
changes made to 4587d5b2f8324877003d33eefea021c5698c5d63.