Fix ext/Function unknown reference to slice