DEFINE CLASS myClass as Custom ADD OBJECT Name AS OtherClass NOINIT ENDDEFINEThe NOINIT option does only work for added objects, not for the class itself. You could try whether you can call the SaveAsClass method of the contained object to create a new class of that type. I suppose you are doing it all in the development environment, so creating the code above on the fly should not be a problem.