Change from TClassAttributeMap to TDictAttributeMap.