     network = new Network component, options
     # Wire the network up
     network.connect (err) ->
-      return callback err if err
+      if err
+        callback err
+        return
       callback null, network
+      return
     return
 
   # Start by loading the component
   options.loader.load component, (err, instance) ->
-    return callback err if err
+    if err
+      callback err
+      return
     # Prepare a graph wrapping the component
     graph = new Graph options.name
     nodeName = options.name

          continue
        res[key] = normalizeOutput [val], options
      return res

  # Flatten the sequence
  mappedOutputs = {}

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

# ### Network preparation
#
