Add ai_gain.