Improved EntryModelGenerator
Compile relations to the model