Move predicates into wai-predicates library.