Migrate getTodoComments to use the new tree

Might be clearer if you still took the descriptors instead of closing over it, but I don't really mind too much.