Returns a hash code value for the object.
The hashcode is only produced from the value returned by unwrap, according to equals implementation.