Implement document deletion templates and flow