Added support for getting back an attachment url