more aggresively cleaning up the generated dummy main method