Cleanup after removing document_viewer