Implemented some infrastructure for the converter.