code: function forumPost (jar, args, res) {
    if (res.statusCode === 302) {
      var redirect = res.headers.location;
      if (redirect.indexOf('/Forum/ShowPost.aspx') === 0) {
        var post = parseInt(redirect.match(/\d+$/)[0], 10);
        if (args.postId && post === parseInt(args.postId, 10)) {
          throw new Error('Post is locked');
        } else {
          return post;
        }
      } else {
        throw getForumError({location: redirect, append: 'Forum post failed'});
      }
    } else if (res.statusCode === 200) {
      var $ = parser.load(res.body);
      var found = $('.validationWarningSmall');
      var errors = [];
      for (var i = 0; i < found.length; i++) {
        var warning = $(found[i]);
        if (warning.css('display') !== 'none') {
          errors.push(warning.text());
        }
      }
      throw new Error('Forum post failed, known issues: ' + JSON.stringify(errors));
    } else {
      throw new Error('Forum post failed, verify that you are allowed to make posts and the message and subject are permitted');
    }
  }
docs: Define