Fixes -Wswitch-default warnings