Refactor supported media types to config