Don't register the destructors if the list is empty