This doesn't seem like the right API when the other APIs are passing in `{conn: connection}`. Surely it should be using the same API?