Can now delete a document with retention of history.
database map functions can have multiple emits.