No use of type key in ClassRegistry::init()