Tiny fix: use setAttributes
Merge pull request #210 from fabien/fix/embeds-many

Tiny fix: use setAttributes