Remove call to main method