Add function for removing snapshots