Cleaning the layout.