Are you sure `text_node` isn't needed here?