Adapters with support for allocation and resizing (will be needed by
generic heaps).