Fixed creating instance of Migration class