Added TOC delete function for later use.