Implemented reporting for attachments.