Add __repr__ and __eq__ methods to model/record classes