Removing the unused dependencies.