Synchronize the class retrieval (from cache)
Since only one thread is accessing it at a time, no special thread safe
implementation of Map (or additional synchronization) should be
necessary for the cache