Initializing layout.