Updated the code to use the new Version object