Migrated RegionDefiner to unified api