Simplify hash code a bit.