Sure, I can add some documentation here since it seems to be non-obvious. However, do note that it's needed for correctness -- multiple worker threads (e.g. with a Spark master of `local[N]`) could end up trying to issue a warning at the same time, in which case they could end up having a data race while reading or updating `unknownContigs`.