Support for generic datamodels