docs: function _getModuleConstructor(name) {
    var constructor = Agent.modules[name];
    if (!constructor) {
      throw new Error('Unknown module "' + name + '". ' +
          'Choose from: ' + Object.keys(Agent.modules).map(JSON.stringify).join(', '));
    }
    return constructor;
  }