code: function (model, options) {
          this._index(model);
          if (!model.collection) model.collection = this;
          if (model.on) model.on('all', this._onModelEvent, this);
      }
docs: Internal method to create a model's ties to a collection.