Add explicit default: don't cares to some switch statements.