add support for associatedMedia other than images.