[wip] Memory management (GC, and callbacks).