Added method to remove documents to DocEngine