Add thread type.