Reimplement mimetype