Fix bug where object returned from getter was assumed to be a reference ...

...to a stored object