Improved document attachments