Move this to a method in memory segment. The getBackingArray() method is now deprecated and may disappear.