Added encoding option.