TS: add* works with threads too.