Use VersionFactory class