Building data model classes.