Not related to this change, but is `mime` missing a `var` here?