Added support for n-ary lambdas.