code: function (data) {
      if (arguments.length === 2) {
        dotty.put(this.attributes, arguments[0], arguments[1]);
      } else if (_.isObject(data)) {
        for (var m in data) {
          dotty.put(this.attributes, m, data[m]);
        }
      }
    }
docs: Sets attributes for the aggregate.
  
  @example:
  aggregate.set('firstname', 'Jack');
  // or
  aggregate.set({
  firstname: 'Jack',
  lastname: 'X-Man'
  });