Fix handling of *args or **kwargs-like parameters