Extracting classes from ModuleStack