Clean when child element is removed (memory leaks).