Implement support for data migrations, #51