Add the check version function.