Turn off autogeneration of main method to prevent reformatting code from being deleted.