remove unnecessary methods.
Remove the setting of parents in the node constructors.
Simplify incremental parser.