Pulling experimental casting code into NestedCastingMetaObject