Messy, but standard switching works.