Add support for migrations.