Implement MediaType (formerly MIME).