Does this need to be threadsafe?