* adjusted mode templates for protocol generator language format