Looking a bit weird to me, but to be honest don't have a better idea.

At least we could support upgrades from a version to any other version.