The callback will receive the connection instance as its first argument.