Add function for WorkerThread.