Added support for migrating to 'max' version