Added EitherType to the core types to represent one of a set of possible values