Create domain classes.