Fix lint problems

Note that this commit also contains defaults for case statements.
Same here