Changes to set.toSvg