Made the versionStringToEnum method static.