Add Encoding option factory.