Separate key and all attribute mappings.
Update code example
Capture row index. Make row processing public.
Update example.