How about passing a default `MediaType` then in `parse()`, instead of returning `null`.