Moved predicates into core.