Extending SVG.Parent with recursive toPath support