Allow Connection to be Passed to direct_publish