[Code] Updating DAC related code and other minor things.