docs: function unwrap(doc) {
      // Unwrap for Enhanced TxStore format
      if ("state" in doc && !("$class" in doc)) {
  	if (doc.state == "COMMITTED")
  	    return JSON.parse(doc.currentValue);
  	else
  	    return null; // Not sure if we will need something more fancy for un-committed data
      }
      // Leave as-is
      else
  	return doc;
  }