DMF for polymer processing