Use object's __hash__ for geometries.

Closes #209.