Completed implementation of the delete snapshot.