Added better inspect for abstract model and  convenient method for a hash of attributes.