Removed single quotes from $templates.