Added garbage collection.