Make the attachment "data" property optional for testing unsetting