code: function(opts) {
    this._emitter = new events.EventEmitter();
    this._libpath = opts.path;
    this._tox = opts.tox;
    this._library = this.createLibrary(this._libpath);
    this._initCallbacks();
  }
docs: Construct a new ToxOld for using old groupchat functions.
  @class
  @param {String} opts.path - Path to libtoxcore
  @param {Tox}    opts.tox  - Parent Tox instance
  @todo Accept either tox option, options array, or both?