Fix kwarg copying.