Undefined variable in version API checks.