Working with the layout.