Multithreaded support.