Avoid cleaning registration maps when an instance is disposed. This avoids the injection of null when a callback is called after the instance destruction.