Issue #2254153 by crowdcg, davidhernandez, joelpittet, mortendk, mdrummond, cilefen, LewisNyman: Move node classes out of preprocess and into templates.