Remove unnecessary main function.