'Called only when no look-up is found.'

def __getattr__(self, name):

    _sm = self._module
    if (name in _sm._OBJECTS):
        _entry = _sm._OBJECTS[name]
        kwds = {}
        if self.useModule:
            kwds = {'useModule': self.useModule}
        parserClass = _entry[0][0]
        obj = parserClass(**kwds)
        attrsToSet = self._defaultKeys.copy()
        attrsToSet.update((_entry[1] or {}))
        for key in attrsToSet:
            setattr(obj, key, attrsToSet[key])
        setattr(self, name, obj)
        return obj
    return getattr(_sm, name)
