Add namespace migration to state_migration.py.