Implement hash and isEqual: methods.

Good point, I'll look at it more.