s/warn/onwarning/ for the TuringMachine warning callback name.