Add getSegments method back into the Routes class.