Add bytes package to examples dependency lists.
Use format_typ to support using typedef names in generated code.