Removing unused UI elements.