'Implementation of all methods that calls the underlying method twice,
returning the result from the second call of the method.
:param name: The name of the method to execute.'

def __getattr__(self, name):

    method = getattr(self._provider, name)
    def duplicate_proxy(*args, **kwargs):
        method(*args, **kwargs)
        return method(*args, **kwargs)
    return duplicate_proxy
