Use reflection for URI segments