Allow folding partial applications.