Use built in predicate instead of creating new one each time.