Fix benchmarks compilation error due to API changes.
Benchmark map, filter and length.