Add thread spec