added support for media-type property