Restore delete functionality