Finish model definitions and migrations.