Removing unneeded dependencies.