Return the key

When a value is added, the generated key is reterned so that the caller of add can quickly keep track of what he added.