[chain] support kw arguments