export Node and TerminalNode to inherit from