Got rid of useless main method.