The existing way to specify expiration on a mapping requires adding the needed context to calculate the expiration to the key or value.
It would be useful to have put & putIfAbsent methods with duration parameter added to VarExpiration, so there would be no need to add the context to the key or value.