Move memory management to the garbage collector