Support getting basic types != the current type.