Response.ContentType -> MediaType; promoted ContentType() to exported method.