Remove old run_dist function.