LocalThread simplified.