Updated the desired interface of the thread classwq