Implement the removal of documents from the database.
Remove this unneeded comment.
Refactor code to use the new QueryExecutor and Transaction codes.