Remove deprecated dependencies.