Getting rid of obsolete objects.