Fixed warings given by 'cabal check'