Remote old dem_path code.