Added SpatialExtent class with validation