Add layout class.