Removing uneeded dependencies.