Fixed the following issue: Malicious code vulnerability - May expose internal representation by returning reference to mutable object.