Refactor predicate_*_send functions