Adds a threading subspec.