Improvement: always return the key value when save an object.