Removed some vars from ASTNode to make the class more functional.