I did this to be consistent with HashMap. I'll change to return by value.