StmtInputMode now completely based on named templates with parameters