Possible predicate template populator implementation
Fixed support for predicates with templates