Embed references as resources