Adds functionality to the Embed plugin