Purge unused dependencies.