remove usuned classes CheckAttachmentDetail and OrphanAttachment