Fix up 'cabal check' warnings.