Added: PathCompactPathEx method.