Fixed the internal collection wrapped by TargetConfig.