Remove some unneeded dependencies