Added V1 to V2 migration functions