Looks like this is no longer needed because contentType is now always a `MediaType`.