Added delete batch functionality.