Add threads module.