Partition routes during setup.