Use Succeeded.type as result type of toSucceeded method on Outcome.