Added n-ary apply overloads.