Use getParent() getter instead of direct access to the parent template in DeferredModuleNode