Merged: route segment processing.