Removing some migration related functions