Convince me why this test necessary, and a check can't just be performed when actually saving the model.