Fix broken Main.main() method.