Bugfix
A module with a singleton that uses the StructuredElement implementation class for its objects cannot be deleted in-app. Modules with instances cannot be deleted, singletons cannot be deleted, but in such modules the singleton definition cannot be removed from the module either. The problem is that a singleton in such modules does not become a singleton because there is a singleton definition in the module, but because it is a named object.
Test
No test.