Despite major technological changes such as the use of gunpowder, the machine gun in the Russo-Japanese War and the trench warfare of World War I, hand-to-hand fighting methods such as bayonet remained common in modern military training, though the importance of formal training declined after 1918. By 1944 some German rifles were being produced without bayonet lugs.