When removing an object, clean up logs, parameters and notifications.