Minor refactoring.
Heap.linkObjects() completely replaced by ClassInstance.setField() and
Array.addComponent().