Improvements in garbage collection