Fix in Main.java

Removal of unnecessary definitions.