base: Make the Value stat's functor method accept lambdas.