     assert _.isFunction(closure), "#{key}: #{closure} is not a function"
     closure(@, args)
     
-  export_events: ->
-    @
+  _export_events: (world) ->
+    handlers = world.get(HANDLERS)
+    for event in @get(EXPORTS)
+      handlers.put event, (args) -> @call(event, args)
+    
   # TODO: refactor import_dict methods somewhere
   _import_children: (children) ->
     result = @rx().array()

    assert cache_rx, "cache_rx"
    @doc = cache_rx.map()
    assert _.isString(label), "label is string"
    @doc.put(LABEL, label)
    @doc.put(CHILDREN, cache_rx.array())
    @doc.put(RX, rx) if rx?
    
  # reactive-coffee tags and binding

      value = @_import_children(value) if key == CHILDREN
      value = @rx().array(value) if _.isArray(value)
      @put(key, value)
    @_export_events @find_path(".")
    this

  _spawn_world: (label) ->
