Support different ValueSupplier in RestrictedMap