def create_writer(self, name, *args, **kwargs):
        """Create a new writer instance for a given format."""
        self._check_format(name)
        return self._formats[name]['writer'](*args, **kwargs)