move unused arg to cpp file where types are defined