Extract converter functions to another file.