Added Functor and when_all_valued.