'Load all modules assigning corresponding do_* functions.'

def _load_modules(self):

    for (module_name, module_class) in modules.loaded.items():
        setattr(Terminal, ('do_%s' % module_name), module_class.run_cmdline)
        for alias in module_class.aliases:
            setattr(Terminal, ('do_%s' % alias), module_class.run_alias)
            setattr(Terminal, ('help_%s' % alias), module_class.help)
        setattr(Terminal, ('help_%s' % module_name), module_class.help)
