Purge unnecessary objects.