Fixed bug in ModuleContainer.