@classmethod
def _elements_to_dtypes(cls, elements):
    """Converts a list of `Element` instances into a dtype dictionary."""
    dtypes = {}
    for element in elements:
        k, v = element.attrib.get('Name'), element.attrib.get('DataType')
        dtypes[k] = cls._dtypes[v]
    return dtypes
