Better to pass the listener the `Collection<PlannedNode>` at once.