Unroll templates