Support for predicates in quest completion.