Document thread-safety.