made it possible to set attrs on any group or node