code lines added to Model classes.