Made layouts nest properly.