PathSegment doesn't have lifetimes or types anymore