     @runtime.removeListener 'disconnected', @onRuntimeDisconnected
     @runtime.removeListener 'component', @onRuntimeComponent
     @runtime.removeListener 'network', @onRuntimeNetwork
+    @runtime.removeListener 'runtime', @onRuntimeRuntime
     @runtime.removeListener 'icon', @onRuntimeIcon
 
   onRuntimeConnected: =>

    runtime.on 'disconnected', @onRuntimeDisconnected
    runtime.on 'component', @onRuntimeComponent
    runtime.on 'network', @onRuntimeNetwork
    runtime.on 'icon', @onRuntimeIcon

  disconnect: ->

        addressable: port.addressable
    @editor.registerComponent definition

  onRuntimeRuntime: (message) =>
    # TODO: Process capability info

  onRuntimeNetwork: ({command, payload}) =>
    return if command is 'error'
    return unless payload.id
