Replace references to 'nodes' with 'entity' in comments.