Remove some unnecessary dependencies