     mappedOutputs[outport].length > 0
   if withValue.length is 0
     # No output
-    return callback null
+    callback null
+    return
   if withValue.length is 1 and resultType is 'simple'
     # Single outport
-    return callback null, normalizeOutput mappedOutputs[withValue[0]], options
+    callback null, normalizeOutput mappedOutputs[withValue[0]], options
+    return
   result = {}
   for port, packets of mappedOutputs
     result[port] = normalizeOutput packets, options
   callback null, result
+  return
 
 exports.asCallback = (component, options) ->
   options = normalizeOptions options, component
   return (inputs, callback) ->
     prepareNetwork component, options, (err, network) ->
-      return callback err if err
+      if err
+        callback err
+        return
       resultType = getType inputs, network
       inputMap = prepareInputMap inputs, resultType, network
       runNetwork network, inputMap, options, (err, outputMap) ->
-        return callback err if err
+        if err
+          callback err
+          return
         sendOutputMap outputMap, resultType, options, callback
+        return
+      return
+    return

  unless options.loader
    options.loader = new ComponentLoader options.baseDir
  options.raw = false unless options.raw
  options

# ### Network preparation
#

    network = new Network graph, options
    # Wire the network up and start execution
    network.connect (err) ->
      if err
        callback err
        return
      callback null, network
      return
    return
  return

# ### Network execution
#
