Add chain delete function.