Implement functor/fmap for the IFn interface