Moving style out of layout.