Added delete function for plants.