{{{scopeDecl}}}
{{{scope}}} = (function({{aliasVars}}) {
  var module = {exports: {}};
  var exports = module.exports;
  {{{internalScope}}}

  {{{yield}}}

  if ({{{scope}}} !== module.exports) {
    console.warn("{{{scope}}} internally differs from global");
  }
  return module.exports;
}).call({{{callSpec}}});
