Remove unused *.cabal sections and add dependencies.