added doc strings and markers to generation templates