Documented the main method.