Changing __repr__ to __str__ where appropriate
Allow predictor method to be defined in the model definition.