Added handle of global sub modules.