Remove unneeded constructor functions from AST node classes.