docs: function Collection (meta, modelInitValues) {
    Definition.call(this, meta);
    // used for replay...
    this.workerId = uuid().toString();
    this.isReplaying = false;
    this.replayingVms = {};
    this.replayingVmsToDelete = {};
    meta = meta || {};
    this.repositorySettings = meta.repositorySettings || {};
    this.defaultPayload = meta.defaultPayload || '';
    this.indexes = meta.indexes || [];
    this.noReplay = !!meta.noReplay || false;
    this.modelInitValues = modelInitValues || {};
    this.viewBuilders = [];
    this.eventExtenders = [];
    this.preEventExtenders = [];
  }