Add a remove-el function to avoid memory leak