Fix hlint warnings.