Equals/hashCode tweaks.