Minimized legacy part - only what's necessary for migration (not yet tested - one shot operation only)