Remove some dependencies.