Attachments is typed `Map<String,Object>` in the args, why the cast?