Move init  delegatingClassResolver after internalInit method.