UI updates & fix a bug (`handleTemplate` missing).
Regenerate source code.