docs: function(entity, options) {
        delete this._byId[entity.cid];
        var id = this.entityId(entity.attributes);
        if (id != null) delete this._byId[id];
        if (this === entity.collection) delete entity.collection;
        entity.off('all', this._onEntityEvent, this);
      }