Extract constants to model classes.