These functions make it easier to manipulate the op tree.