Document thread safety.