Allow customization of predicate methods