Add code to generate variable conversion functions.