Moved the DiscardOutcome struct to a new file.