Overrided hashCode methods in some classes.