Generate persistable templates from type name TH symbol.
Merge pull request #5 from khibino/defined-type-name-201402

Generate persistable templates from type name TH symbol.
NoBuffering in example
Reproduce #6
Make the example compatible with current hrr