should we also accept actual MediaType instances here?