Adds MIME type checks.