Added deleted_document method