- compare_attrs belongs to self.