Remove old dependencies