Further threading work.