Attachments - remove unnecessary code.