Remove old dependencies.