Extract the common variants in a separate class. Also forces the benchmarks to run in a clean environment.