Fix warnings by the linter

See https://github.com/HairyFotr/linter