Simplify the API conversion tool without functionality changes.