Remove some unused dependencies.