[c2492] Improve handling of TargetMMGen. (z2456)