The run function now accepts an Experiment instance as input.