Added support for default media types.