Made model functions only compute for a single node.