Resource: with Set(k, v) method, removed Total method