Move to a main function.