Adding monad parameter to Media type classes