Now generating models using case classes.