Removed unecessary main method.