Add primitive polymorphism switch