Added support for Either.