Binary and Ternary function wrappers that do partial application.