Clear some elements that are now unused