ad functionality to get notified about object add/remove to GC