Add garbage collection calls