Lint header files and remove lint errors