Implemented TextNode and SeparatorNode