Explicit connection argument

References #46, fixes #49.