// Yeah this subclass relationship is nasty sclass ManagedIntObjects_v1_virtual extends ManagedIntObjects_v1 { replace Addr with int. replace Addr2 with Int. IIntMemory vmem; public int size() { ret vmem.size(); } public int get(Addr i) { ret vmem.get(i); } public void set(Addr i, int val) { vmem.set(i, val); } *(IIntMemory *vmem) {} }