Array and heap API changes.