Remove extaneous SVG attributes.