Added class API for SVG nodes in classes.js