 Complete the following phrase:  Beginning in early 1886, Stosch underwent an extensive modernization in preparation for her service as a training ship for naval cadets and later Schiffsjungen. The ship served in this capacity from 1888 to 1907, during which time her activity consisted primarily of fleet training exercises and overseas training cruises. These cruises frequently went to the West Indies and Mediterranean Sea, though she also made visits to South America and West Africa. Stosch also frequently visited foreign ports to show the flag. She also engaged in settling disputes involving foreign governments, including over the murder of a pair of German citizens in Morocco in 1895 and during the 