Changed retrieval of node text.