Fix the version API.