Made the various SVG*Element traits into classes so I can pattern match over them.