Templates for programs