Modified most node ops so that they act on configurable state variables
rather than on hard-wired ones.