[ConfigManager] Reduce the number of unnecessary static variables.