In order to simplify certain use cases, we should introduce computeAttribute() as a default method in the AttributeAccessor interface, analogous to computeIfAbsent() in java.util.Map.