if (this.factories.has(member)) {
      const factory = this.factories.get(member);

      this.factories.set(
        member,