Method Task::toTmplJSON was removed.