Move some extensions into cabal file.