Pass MIME type to `preProcess` function