Pass less references around threads