Small hash() simplifications.