Repository.prototype.resetAll = function () {
    let self = this;
    return Promise.all(Object.keys(this._copy).map((key) => self.reset(key)));
};