Record __eq__ and __repr__