Copy Either class from crowd-control project.