Example functor class.