Removing unneeded dependencies