Add build method overrides for benchmarks.