Add missing info from equals and hashCode implementations.