Add thread domains.