def _get_params(self, **kwargs):
        "Convert keyword arguments to a kwargs dictionary."
        result = dict()
        for key, value in kwargs.items():
            if value is None: continue
            result[key.replace('_', '-')] = value
        return result