Put lvalue-reference-handling stuff from Maybe to Either.