Do set by refrence only instead of returning a new document.