export of generated models