Using unordered map to handle entries.