fn onInit(node) { print "init called"; } fn onStep(node) { print "step called"; } fn onFree(node) { print "free called"; }