Adds toString() methods to model classes.