More renaming.
Use custom connection interface in type hints. Closes #6