Using "coreAltsType" to build Case expressions.