Updated template generation.

Switched template generation to tradition means to be clearer for those
unfamiliar with Soma-template.