Clean up version function.