This method isn't thread safe yet it's used from multiple threads potentially concurrently.