Reversed the order of arguments in functions and predicates.