Subclasses the AST nodes to work with vectors and matricies.