Cherrypick Garbage Collection into the 0.4 release.