Adds garbage collection