Minor cleanup of worker module.