Support URLs when creating attachments.