Removed unused delete functions