Documentation on thread safety (Issue #12)