Node setter is now fluent.
You can use node.set('attr1','').set('attr2','');