Revert "template generation"

This reverts commit 9cfe46888e259b01f88dc7afff6781b2281d6e5c.