Use `@sexpr` to generate chainRule methods from a table.