Embedded templates, fixes #65