Small refinements for Python benchmarks.