Wrote test for Issue #22951: check for uninstantiated classes/types.
Fix #22951 - check for types during deep_deconstruct / migration serialization process.