Added variadic template to functor.