Modify RiverSimulationProfile codes.