Method hashCode() overriden.