Remove unneeded dependencies