Add type definitions for log destinations and write options.