Thanks for the response. I can see this is helpful in some of use cases!

Thank you very much for the detailed responses! This is very helpful.

Thanks Timothy for the quick response. One thing I have not figured out is: regardless ClassDefinition or CompiledClass, their .Properties returns a relationshipObject. How do I get the set/array of PropertyDefinition associated with the class? Thanks.