Switched to UserData for the InstanceDeduplicator.
Cleanup memory using the removal callback.