Added missing NULL sentinels in switches array.