Add classes of hosts