code: function (manager) {
    this.config = {};
    this.manager = manager;
    this.debug = manager.debug;
    this.binder = new ProxyBinder(this.manager);
    this.api = this.manager.api;
    this.manifests = {};
    this.providers = {};
  
    this.id = 'ModuleInternal';
    this.pendingPorts = 0;
    this.requests = {};
    this.unboundPorts = {};
  
    util.handleEvents(this);
  }
docs: The internal logic for module setup, which makes sure the public
  facing exports have appropriate properties, and load user scripts.
  @class ModuleInternal
  @extends Port
  @param {Port} manager The manager in this module to use for routing setup.
  @constructor