         <pre>{@props.contents}</pre>
 
 
-Archive = rclass
+Archive = (name) -> rclass
+    reduxProps:
+        "#{name}" :
+            contents       : rtypes.string
+            info           : rtypes.string
+            type           : rtypes.string
+            loading        : rtypes.bool
+            command        : rtypes.string
+            error          : rtypes.any
+            extract_output : rtypes.string
+
     propTypes:
-        path : rtypes.string
-        actions: rtypes.object
+        path       : rtypes.string
+        actions    : rtypes.object
+        project_id : rtypes.string
 
     title : ->
         <tt><Icon name="file-zip-o" /> {@props.path}</tt>

            <ArchiveContents path={@props.path} contents={@props.contents} actions={@props.actions} project_id={@props.project_id} />
        </Panel>

render = (flux, project_id, path) ->
    name = flux_name(project_id, path)
    actions = flux.getActions(name)
    connect_to =
        contents   : name
        info       : name
        type       : name
        loading    : name
        command    : name
        error      : name
        extract_output : name

    <Flux flux={flux} connect_to=connect_to>
        <Archive path={path} actions={actions} project_id={project_id} />
    </Flux>

exports.free = (project_id, path, dom_node, flux) ->
    ReactDOM.unmountComponentAtNode(dom_node)

exports.render = (project_id, path, dom_node, flux) ->
    init_flux(flux, project_id, path)
    ReactDOM.render(render(flux, project_id, path), dom_node)

exports.hide = (project_id, path, dom_node, flux) ->
    ReactDOM.unmountComponentAtNode(dom_node)

exports.show = (project_id, path, dom_node, flux) ->
    ReactDOM.render(render(flux, project_id, path), dom_node)

        ], (err, info, type, contents) =>
            if not err
                @setState
                    error    : err
                    info     : info.stdout
                    contents : contents.stdout
                    type     : type
        )

    extract_archive_files : (project_id, path, type, contents) ->
