Remove unused dependenties.