Removed custom AST::Node class.

Since this class did nothing other than extend AST::Node we might as well use
the latter.