adds initializer to connection