Rewrote the Outcome class -> Output.