Altering the fix for #61 to not create a new Template instance but initialize the strTemplate variable instead.