Use hash trie for environment records.
Removed unused import