This is analogous to SysReadSelectionHandle, but for writing. I'm not
currently using it for actually writing systematically varied
decorations, but it already helped clean up all the code that was
previously using bare accessors to write selection decorations.