Setting up layout.