Added main method declaration.