added support for data model in the generator model.