Migration fixes.