Migrate the workflow of RegionCollector to plugin system.