Added support for Either values