Create definition classes.