Ensure targetClasses exists to avoid an implicit fallback to enforceArti...

...factResolution