Add 'setAttrs' method to the Folder model