Migrating roles as terms