adding profile support for media types