Adding ability to pass in publisher/subscriber connections