Modify _main as void function.