Fix HLint warnings.