Shouldn't return array reference. Should deep copy and return the copy.