Implement switchPath property for Repetition component.