TypeCast for eureka