Removing strictness annotations on MediaType.