Refine Cabal file.