code: function(trace, callback) {
        var item = {body: {trace: trace}};
        if (callback) {
          item.callback = callback;
        }
  
        this.items.push(item);
        this.handleEvents();
      }
docs: /*
  Pushes a trace object onto the queue and calls handleEvents()