Use singleton class level instance variable to hold main dynamic hash rather than Thread.main.
Use singleton class level instance variable to hold main dynamic hash rather than Thread.main.

compwron/structured_warnings