If this is a value object, we should generate some equals and hashCode.