clearInstanceCache() {
        for (const key of Object.keys(this.instanceCache)) {
            this.instanceCache[key] = {};
        }
    }
Force recreation of all instances instead of reusing cached instances. Use when editing config file during tests.