Fix thread hiding stubs.