Include the type of the object in its hash code.