Added CSV encoding option.
Added spec memo.