'Overwrite the getattr method in case of attribute is not found.
The goal is to dynamically generate the API get\'Stats\'() methods.'

def __getattr__(self, item):

    header = 'get'
    if item.startswith(header):
        try:
            self.__update__()
            return getattr(self.stats, item)
        except Exception:
            raise AttributeError(item)
    else:
        raise AttributeError(item)
