clean up some unreferenced parameters warnings