Support affixed typed path captures (#3782)