Add default clauses to some switches.

Now we can run with a fully-clean Findbugs config, which is lovely.