The scope of pyrolysis methylation reactions