Validation fixes. Migrations.