Modify Nodes compile method