Fix various linting issues.