The O-methyltransferase PMT2 mediates methylation of pinosylvin in Scots pine.