Methylation is mediated by methyltransferases, and S-adenosyl methionine (SAM) is the primary methyl group donor.