Activity model and migration.