Updated benchmarks to new APIs.