def route(name, args_str):
    """Registers a named route for internal routing subsystem.

    :param str name: Route name

    :param args_str: Comma-separated arguments string.

    :rtype: int
    """
