Handle warnings. Remove redundant code in DefaultReactiveEntityCallbacks. Original pull request: #3053 See #3055
TypeDiscoverer