Add support to create predicates