@classmethod
def _updateClassDictWithTemplateItems(cls, classdict):
    """If constructed through use_template, we need to construct
        the appropriate type of items based on our item_type of our class."""
    if 'template_items' in classdict:
        for item in classdict['template_items']:
            classdict[item.name] = cls.item_type.construct(item)
        del classdict['template_items']
