Added really basic way of migrating to a version.