Simplify migration functions