protected async getInstance(): Promise<IndexedReplacer> {
    if (!this.singleton) {
      this.singleton = new IndexedReplacer();
    }
    return this.singleton;