added support for media attachments.