replace module-from-symbol linear lookup with hashtable using private functionality.