Hotfix for NPE when using ConcurrentHashMap.