Remove SpatialIndex
Change ref count decrement ordering