Corrected linting issues found by godoc.