Yields tagged commands.

def _tag_cmds(self, *cmds):
        """
        Yields tagged commands.
        """
        for (method, args) in cmds:
            tagged_cmd = [method, args, self._tag]
            self._tag = self._tag + 1
            yield tagged_cmd