These would be useful for components (CoreElements) that need to do cleanup when they're removed from the DOM (like remove global listeners).