Rename validate to validate-with-predicate