work in the shogun namespace even in the .cpp file for templated classes