Typo fix.
ConnectionInterface is now used.
Refactored ConnectionAdapter class.