Alternative to Step 7, Method 2 (Example of using a reducing catalyst): Synthesis of N-{2-methoxy-4-[4-(4-(4-methylpiperazin-1-yl)piperidin-1-yl]phenyl}-N'-[2-(propane-2-sulfonyl)phenyl]-1 ,3,5-triazine-2,4-diamine (compounds of formula (1)). 1-[3-Methoxy-4-({4-[2-(propane-2-sulfonyl)anilino]-1,3,5-triazin-2-yl}amino)phenyl]piperidin-4-one (5.0 g), tetrahydrofuran (30 mL), N-methylpiperazine (1.81 g), and 10% palladium-carbon (~50% wet product, 0.8 g) were mixed. The mixture was stirred at 40°C for 7 hours under a hydrogen atmosphere (2.4821 x 10^5 Pa). Upon completion of the reaction, the palladium carbon was removed by filtration and washed with tetrahydrofuran (10 mL). The combined filtrates were concentrated under reduced pressure. To the concentrated residue was added 2-butanone (9 mL) and the resulting mixture was stirred at 60°C for 30 minutes and then slowly cooled to 30°C. After addition of n-heptane (9 mL), the mixture was stirred at room temperature for 19 h. The precipitated crystals were collected by filtration. The crystals were washed with a mixture of 2-butanone (1 mL) and n-heptane (1 mL) and then dried under reduced pressure at 40 °C to afford the target product N-{2-methoxy-4-[4-(4-methylpiperazin-1-yl)piperidin-1-yl]phenyl}-N'-[2-(propane-2-sulfonyl)phenyl]-1,3,5-triazine-2,4-diamine (3.09 g, yield 88.0%). Nuclear magnetic resonance hydrogen spectroscopy (1H NMR) data: δ 1.31 (6H, d, J = 6.8Hz), 1.59-1.78 (2H, m), 1.90-2.01 (2H, m), 2.24-2.80 (11H, m), 2.30 (3H, s), 3.19-3.32 (1H, m), 3.65-3.75 (2H, m), 3.88 (3H, m). 3.88 (3H, s), 6.50-6.59 (2H, m), 7.18-7.30 (1H, m), 7.53-7.70 (2H, m), 7.88 (1H, dd, J = 1.5, 8.3Hz), 8.10 (1H, br), 8.37 (1H, br), 8.53 (1H, br), 9.29 (1H, s). Mass spectrum (ESI+): m/z 581.