def new(cls, parent, content_hash, date_received): d = cls(parent=parent, content_hash=content_hash, date_received=date_received, doc_root='', merkle_chain=db.Text('', encoding="utf-8")) d.put() return d