Refactored data from string map to interface map.