Supporting fg or bg resetting.