Also renamed `cachedConfig` to `cachedGlobalConfig` for consistency.