Finished AST implementation.