Cleaned up the raw_to_dram converter.