Add remove closure to the Cache config