Use a weak reference for TargetConfig configurations to avoid a circular reference...