switchModel now supports "class" switches