[PyNodes] 2.66.6 Coding PyNodes?

How do I tie my custom node to my material? The node_tree value is noted as “read only” in the API.