Synthesis and biological evaluation of nonclassical 2,4-diamino-5-methylpyrido[2,3-d]pyrimidines with novel side chain substituents as potential inhibitors of dihydrofolate reductases.