Enabled SGDocument destruction (deletes PNG and PDF files for a document)