Allows removing some allocation churn in some locations by moving std::vectors into Path where applicable.