Make device storage for attachments works