Compounds (D) include full and partial esters of cinnamic acid with aliphatic glycols and polyols such as triethylene glycol, tetraethylene glycol, and pentaerythritol and epoxide resins that haven been fully esterified by a cinnamic acid, especially epoxidised novolaks and diglycidyl ethers of bisphenol A which have been thus esterified.