Fix most lint errors