Add setText(), getText(), getStyle() methods for Node class.