Gave template context its own setter method