Refactoring Migrator.cs