value: function getInstance(key, getValueIfUndefined) {
      if (!this.map[key]) {
        this.map[key] = getValueIfUndefined();
      }
      return this.map[key];