Adding custom fields to attachments