   s "  # No return value"
   s "  return"
   s ""
-  s ")(this, (#{['__root__'].concat(args).join(', ')}) ->"
+  s ")((#{['__root__'].concat(args).join(', ')}) ->"
 
   s options.indent + options.contents
   unless options.global

  args    = _.filter(_.pluck(options.dependencies, 'argument'))
  globals = _.filter(_.pluck(options.dependencies, 'global'))

  s "((root, factory) ->"
  s ""
  s "  # AMD"
  s "  if typeof define is 'function' and define.amd"

  if deps.length
    s "    define [#{deps.map(amdRequire).join(', ')}], (#{args.join(', ')}) ->"
    s (if options.global
      "      root.#{options.global} = "
    else "      ") + "factory(#{['root'].concat(args).join(', ')})"


  s ""
  s "  # CommonJS"
  s "  else if typeof module is 'object' and module isnt null and"
  s "          module.exports? and typeof module.exports is 'object'"

  s (if options.global
    "    module.exports = "
