SerialDependencyResolver#registerNode is inlined and removed as it is used only once.