Convert to Threadsafe API.