Ensure TemplateRegistry duplicates are using a separate copy of the template hash

Subclasses are currently polluting the parent and all sibling classes with their templates