Detect version in check()