Added proper method signatures for run.