Fix lint problems

Note that this commit also contains defaults for case statements.
We can just remove this line now since the default will cover it.