Delete Doc-related activity when deleting a doc. See #279