Added Scene and TemplateStack classes.