docs: function (name) {
          return function (state) {
            // Write to output stream
            var time = new Date();
            self.write(messages[name][state].replace('{pid}', self.pid[name]));
            self.write('=== Time: ' + time.toString());
          };
        }