Remove some dependencies