Fixed media-type parsing.
Removed init method