Fix: putIfAbsent is not available when using the Map interface