Deleting functionality added.