Avoid use of model {} from init script 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