Added SetValue helper method

Useful for when you want to add properties for the template, but you
only know the property names at run-time, and you don't care if you
over-write a previously added property.