Adding the threaded flag.