It looks like that the multivariate interface does not restrict to Function, but the univariate one does. See
I don’t think this is necessary — please check if there is an existing issue and open one if there isn’t. In the meantime, @liuyxpp’s workaround using a closure should help.