Remove unnecessary code from Runner.