issue warnings when custom_predicates argument is used to add_route or add_view