safe content type checks.