Clean up SpatialReference.