Added some thread-safety caveats.