Added delete functionality.