Add method for handing embedded data