Use tables to select convert functions, with fix for references to core functions.