Fixing issue with compiled templates.