Corrected location of ModuleLoader
EmbeddedObject encapsulates streams and readers, so that attachments should be removed properly now. (not yet tested)