Add restore from deletion functionality.