Extracted a GeometryServiceRegistry out of the Geometry class