Fix ResourceSafetySpec