Avoid use of model {} from subprojects as it doesn't get transformed at compile time.

Will need to note this as a breaking change in the release notes.

 +review REVIEW-5177