LambdaGenerator now a Generator<T> instead of a Generator<Object>