Add text to the generated nodes.