Fixes for new lint rules, part 1