Fixed up implementation of functor_arrfunc