def METHOD_NAME(self, args):
    command = args[0]
    (module, sub_command) = self.parse_command(command)
    if not module:
        raise Exception('Invalid module "%s".' % command)
    # Prepare module arguments.
    if sub_command:
        # If module command exists, include it as arguments:
        # <module command> <args>...
        module_args = [sub_command] + args[1:]
    else:
        # Otherwise, pass the original arguments: <args>...
        module_args = args[1:]
    return (module, module_args)