Remove useless lines in the migrator.