Fix 'version' function.