Much better hashCode methods for AreaReference and BlockReference. Also store hashCode in variable.