docs: function Commit(events, sequenceID, sequenceSlot, aggregateType, metadata){
  	if(!Array.isArray(events)){ throw new Error('events must be an array while constructing Commit'); }
  	if(typeof(sequenceID) !== 'string'){ throw new Error('sequenceID is not a string while constructing Commit'); }
  	if(!sequenceSlot){ throw new Error('sequenceSlot not a number, or zero, while constructing Commit'); }
  	
  	this.events = events;
  	this.sequenceID = sequenceID;
  	this.sequenceSlot = sequenceSlot;
  	this.aggregateType = aggregateType;
  	this.metadata = metadata ? metadata : {};
  }