mime: Rewrite media interface