Correctly set kwargs.