Changed migration method.