Rewrite version checker.