Renamed and moved model node functions.