Worked on ModuleSnippets.

Fixed another HashMap -> TreeMap compat issue.