def make_context(host, port, path, store, callbacks,
                 collection_funcs, retrieve_funcs, entry_funcs,
                 strip_meta, ctl, queue):
    """Returns a context object which is passed around by visit()."""
    return {"host": host, "port": port, "store": store,
            "path": path, "queue": queue or [], "ctl": ctl,
            "collection_funcs": collection_funcs,
            "retrieve_funcs": retrieve_funcs,
            "entry_funcs": entry_funcs,
            "strip_meta": strip_meta,
            "callbacks": callbacks}