add method field for attachments