Moved many public methods in Connection to protected.