Add validation on type's delete