Updated the name for kwargs to connectargs for better readability.