Reducing unneeded dependencies