Add process_kw_arg to treat named keyword arguments the same as optional arguments