I'm concerned about concurrent parsing in C++ applications. What is the best practice for declaring trees locally to support thread-safety? Can it be done in the grammar file?