The ObjectTemplate type already existed but now it can also be instantiated. This commit also adds Template::set() to actually make that useful.