I don't think we should add these methods to Node, because they are not safe to use from the script task. Instead, let's just set the fields directly from the methods in LayoutNode.