     }
   }
 
-  public init?(at path: String) {
+  init?(at path: String) {
     guard let connection = MsgPackRpc.Connection(unixDomainSocketPath: path) else {
       return nil
     }

      return msgid
    }

    let response = self.connection.request(type: MessageType.request.rawValue,
                                           msgid: msgid,
                                           method: method,
                                           params: params,
                                           expectsReturnValue: expectsReturnValue)

    guard response.error.isNil else {
      print("\(response.error)")
      return .failure(NvimApi.Error(response.error))
    }

    return .success(response.result)
  }

  private let connection: Connection

  private var nextMsgid: UInt32 = 0
  private let nextMsgidLock = NSRecursiveLock()

    }
  }

  var unknownMessageCallback: NvimApi.UnknownCallback? {
    get {
      return self.connection.unknownMessageCallback
    }
