Added missing include
Fixup: added note on what the parameters of the predicate function are about