Fixed up hashCode and added docs for Pair