Removing references to objects.