Adds support for migrating in chunks