docs: function VK(options, redirectUri, code, token) {
      EventEmitter.call(self);
      self = this;
      if (options === undefined)
          throw 'No options passed to constructor';
      if (options.appID === undefined || options.appSecret === undefined)
          throw 'Wrong options';
      if (options.mode === 'undefined' || !(options.mode === 'oauth' || options.mode === 'sig'))
          options.mode = 'oauth';
      self.options = options;
      self.code = code || '';
      self.token = token || '';
      self.redirectUri = redirectUri || 'http://localhost';
      self.userId = 0;
  }