'Used by Python when executing ``\'\'.format(*DirectMaps())``.'

def __getitem__(self, idx):

    value = self._matches[idx]
    if (isinstance(value, list) and (len(value) == 1)):
        return value[0]
    else:
        return value
